Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying npm scripts for embedded node #868

Merged
merged 1 commit into from Dec 23, 2019
Merged

Conversation

mwatts15
Copy link
Contributor

Summary
If the "provided" npm version is used, the binaries are not copied into the node directory so they aren't in the path for npm executions started from the plugin. For example, the prebuild in the example project calls npm install which will use the system npm rather than that installed for the porject. This is experienced by reporters of #458 and #860.

Tests and Documentation
Modified existing node-provided-npm integration test.

The example test is failing due to some phantomjs error and is apparently unrelated.

- Modifying the node-provided-npm to check for npm binary
- Resolves eirslett#860, Resolves eirslett#458
@eirslett
Copy link
Owner

Looks good to me, thanks! I guess it'll be in the christmas release! :-D

@eirslett eirslett merged commit 6ea943f into eirslett:master Dec 23, 2019
@eirslett
Copy link
Owner

There we go, 1.9.0 is released, merry christmas! 🎅 ❄️ 🎄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants